#include <iostream>

using namespace std;

int main(){
	double A=1;
	double B=1;
	
    if(A+0.005>0 && A<0) printf("0.00");
        else printf("%.2lf",A);
    if(B>0) printf("+%.2lfi\n",B);
    if(B+0.005>0 && B<0) printf("+0.00i\n");
    	else if(B<0) printf("%.2lfi\n",B);

	return 0;
}
